#pragma once

#include "cTexture.h"
#include "Globals.h"

//Image array size
#define NUM_IMG		17

//Image identifiers
#define IMG_ROOM00			0
#define IMG_ROOMCONTROLS	1
#define IMG_ROOMSCORES		2
#define IMG_ROOMCREDITS		3
#define IMG_PLAY			4
#define IMG_CONTROLS		5
#define IMG_SCORES			6
#define IMG_CREDITS			7
#define IMG_BACK			8
#define IMG_BLOCKS			9
#define IMG_PLAYER			10
#define IMG_INFO			11
#define IMG_FONTS			12
#define IMG_SCOPE			13
#define IMG_ENEMY			14
#define IMG_CAUTION			15
#define IMG_SHUFFLE			16


/*
#define IMG_ENEMY1	2
#define IMG_ENEMY2	3
#define IMG_SHOOT	4
...
*/

class cData
{
public:
	cData(void);
	~cData(void);

	int  GetID(int img);
	void GetSize(int img,int *w,int *h);
	bool LoadImage(int img,char *filename,int type = GL_RGBA);

private:
	cTexture texture[NUM_IMG];
};
